package io.renren.config;

import io.renren.modules.tag.utils.SnowFlake;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfiguration {
    @Bean
    public SnowFlake snowFlake() {
        // 实例化 snowFlake 对象
        return new SnowFlake(0,0);
    }
}

